package cn.zjutleo.village_server.exception.apiException.authenticationException;

import cn.zjutleo.village_server.constants.ApiExceptionCodes;
import cn.zjutleo.village_server.exception.apiException.AuthenticationException;

/**
 * @author : Ma Xiaofeng
 * @date : Created in 2021/11/15
 * @description: 重复注册异常
 */
public class MultiRegisterException extends AuthenticationException {

    public MultiRegisterException(String message) {
        super(message, ApiExceptionCodes.MULTI_REGISTER.getValue());
    }

    public MultiRegisterException() {
        super(ApiExceptionCodes.MULTI_REGISTER.getDesc(), ApiExceptionCodes.MULTI_REGISTER.getValue());
    }
}
